package com.example.myproject.dto.comment;

import java.util.List;

public class CommentResponse {
    private Integer comment_id;
    private Integer torrent_id;
    private Integer user_id;
    private Integer parent_id;
    private String comment_content;
    private String formatted_content;
    private List<MentionedUser> mentioned_users;
    private String comment_createtime;

    public static class MentionedUser {
        private Integer user_id;
        private String username;
        public MentionedUser() {}
        public MentionedUser(Integer id, String name) { this.user_id=id; this.username=name; }
        public Integer getUser_id() { return user_id; }
        public void setUser_id(Integer user_id) { this.user_id = user_id; }
        public String getUsername() { return username; }
        public void setUsername(String username) { this.username = username; }
    }
    // getter/setter
    public Integer getComment_id() { return comment_id; }
    public void setComment_id(Integer comment_id) { this.comment_id = comment_id; }
    public Integer getTorrent_id() { return torrent_id; }
    public void setTorrent_id(Integer torrent_id) { this.torrent_id = torrent_id; }
    public Integer getUser_id() { return user_id; }
    public void setUser_id(Integer user_id) { this.user_id = user_id; }
    public Integer getParent_id() { return parent_id; }
    public void setParent_id(Integer parent_id) { this.parent_id = parent_id; }
    public String getComment_content() { return comment_content; }
    public void setComment_content(String comment_content) { this.comment_content = comment_content; }
    public String getFormatted_content() { return formatted_content; }
    public void setFormatted_content(String formatted_content) { this.formatted_content = formatted_content; }
    public List<MentionedUser> getMentioned_users() { return mentioned_users; }
    public void setMentioned_users(List<MentionedUser> mentioned_users) { this.mentioned_users = mentioned_users; }
    public String getComment_createtime() { return comment_createtime; }
    public void setComment_createtime(String comment_createtime) { this.comment_createtime = comment_createtime; }
}